/*
 * ClassName 用户数据集
 */
Ext.define("core.system.store.SysStore", {
    alias: 'widget.sysStore',
    extend: 'Ext.data.Store',
    model: 'core.user.model.UserModel',
    pageSize: 10,//每页显示10条记录
    proxy: {
        type: "ajax",
        url: "userInfo/listUserInfo",
        extraParams:{
            userName:userName
        },
        reader: {
            type: "json",
            root: "userInfoList",
            totalProperty: 'total'
        },
        writer: {
            type: "json"
        }
    },
    autoLoad: true
});